.TH std::basic_stacktrace::operator[] 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::basic_stacktrace::operator[] \- std::basic_stacktrace::operator[]

.SH Synopsis
   const_reference operator[]( size_type pos ) const;  (since C++23)

   Returns a reference to the entry at specified location pos. No bounds checking is
   performed.

   If pos is not within the range of the stacktrace, i.e. pos >= size(), the behavior
   is undefined.

.SH Parameters

   pos - position of the stacktrace entry to return

.SH Return value

   Reference to the requested entry.

.SH Exceptions

   Throws nothing.

.SH Complexity

   Constant.

.SH Example

    This section is incomplete
    Reason: no example

.SH See also

   at access specified stacktrace entry with bounds checking
      \fI(public member function)\fP

.SH Category:
     * Todo no example
